QuickOPC User's Guide and Reference
InList(Object,IEnumerable<UAFilterOperand>) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > InList Method : InList(Object,IEnumerable<UAFilterOperand>) Method
TRUE if operand[0] is equal to one or more of the remaining operands.

Remarks:

The Equals Operator is evaluated for operand[0] and each remaining operand in the list. If any Equals evaluation is TRUE, InList returns TRUE.

Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function InList( _
   ByVal literalValue0 As Object, _
   ByVal remainingOperands As IEnumerable(Of UAFilterOperand) _
) As UAContentFilterElement
'Usage
 
Dim literalValue0 As Object
Dim remainingOperands As IEnumerable(Of UAFilterOperand)
Dim value As UAContentFilterElement
 
value = UAFilterElements.InList(literalValue0, remainingOperands)

Parameters

literalValue0
remainingOperands
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also